From 6e4bc32f494388405254fbb2ae37e5ac6b4257d9 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Wed, 17 Sep 2003 01:33:58 +0000 Subject: [PATCH] *** empty log message *** --- includes/SpecialBlockip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialBlockip.php b/includes/SpecialBlockip.php index b56b1d2dd6..fe52461bd8 100644 --- a/includes/SpecialBlockip.php +++ b/includes/SpecialBlockip.php @@ -62,7 +62,7 @@ class IPBlockForm { global $ip, $wpBlockAddress, $wpBlockReason, $wgSysopUserBans; $userId = 0; - if ( ! preg_match( "/\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}/", + if ( ! preg_match( "/^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$/", $wpBlockAddress ) ) { if ( $wgSysopUserBans ) { -- 2.20.1